package com.ruoyi.web.wx.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 微信用户表 wx_user
 * 
 * @author ruoyi
 * @date 2019-08-27
 */
public class WxUser extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private String id;
	/**  */
	private String realName;
	/**  */
	private String nickName;
	/**  */
	private String gender;
	/**  */
	private String phone;
	/**  */
	private String openId;
	private String unionId;
	private String headPortrait;
	/** 市 */
	private String city;
	/** 行政区 */
	private String district;
	/** 街道 */
	private String street;
	/** 社区 */
	private String community;
	/** 小区 */
	private String village;
	/** 楼号 */
	private String buildingNum;
	/** 单元 */
	private String unitNum;
	/** 室 */
	private String room;
	/** 详细地址 */
	private String detailedAddress;
	//历史环保金总数
	private double historytotalMoney;
	//当前环保金总数
	private double totalMoney;


	//积分总数
	private Integer historyTotalIntegral;
	private String addressId;
	private String address;
	private String code;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getAddressId() {
		return addressId;
	}

	public void setAddressId(String addressId) {
		this.addressId = addressId;
	}

	public void setId(String id)
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setRealName(String realName) 
	{
		this.realName = realName;
	}

	public String getRealName() 
	{
		return realName;
	}
	public void setNickName(String nickName) 
	{
		this.nickName = nickName;
	}

	public String getNickName() 
	{
		return nickName;
	}
	public void setGender(String gender) 
	{
		this.gender = gender;
	}

	public String getGender() 
	{
		return gender;
	}
	public void setPhone(String phone) 
	{
		this.phone = phone;
	}

	public String getPhone() 
	{
		return phone;
	}
	public void setOpenId(String openId) 
	{
		this.openId = openId;
	}

	public String getOpenId() 
	{
		return openId;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getDistrict() {
		return district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	public String getCommunity() {
		return community;
	}

	public void setCommunity(String community) {
		this.community = community;
	}

	public String getVillage() {
		return village;
	}

	public void setVillage(String village) {
		this.village = village;
	}

	public String getBuildingNum() {
		return buildingNum;
	}

	public void setBuildingNum(String buildingNum) {
		this.buildingNum = buildingNum;
	}

	public String getUnitNum() {
		return unitNum;
	}

	public void setUnitNum(String unitNum) {
		this.unitNum = unitNum;
	}

	public String getRoom() {
		return room;
	}

	public void setRoom(String room) {
		this.room = room;
	}

	public String getDetailedAddress() {
		return detailedAddress;
	}

	public void setDetailedAddress(String detailedAddress) {
		this.detailedAddress = detailedAddress;
	}

	public String getHeadPortrait() {
		return headPortrait;
	}

	public void setHeadPortrait(String headPortrait) {
		this.headPortrait = headPortrait;
	}

	public double getHistorytotalMoney() {
		return historytotalMoney;
	}

	public void setHistorytotalMoney(double historytotalMoney) {
		this.historytotalMoney = historytotalMoney;
	}

	public double getTotalMoney() {
		return totalMoney;
	}

	public void setTotalMoney(double totalMoney) {
		this.totalMoney = totalMoney;
	}

	public Integer getHistoryTotalIntegral() {
		return historyTotalIntegral;
	}

	public void setHistoryTotalIntegral(Integer historyTotalIntegral) {
		this.historyTotalIntegral = historyTotalIntegral;
	}

	public String getUnionId() {
		return unionId;
	}

	public void setUnionId(String unionId) {
		this.unionId = unionId;
	}

	@Override
	public String toString() {
		return "WxUser{" +
				"id='" + id + '\'' +
				", realName='" + realName + '\'' +
				", nickName='" + nickName + '\'' +
				", gender='" + gender + '\'' +
				", phone='" + phone + '\'' +
				", openId='" + openId + '\'' +
				", unionId='" + unionId + '\'' +
				", headPortrait='" + headPortrait + '\'' +
				", city='" + city + '\'' +
				", district='" + district + '\'' +
				", street='" + street + '\'' +
				", community='" + community + '\'' +
				", village='" + village + '\'' +
				", buildingNum='" + buildingNum + '\'' +
				", unitNum='" + unitNum + '\'' +
				", room='" + room + '\'' +
				", detailedAddress='" + detailedAddress + '\'' +
				", historytotalMoney=" + historytotalMoney +
				", totalMoney=" + totalMoney +
				", historyTotalIntegral=" + historyTotalIntegral +
				", addressId='" + addressId + '\'' +
				", address='" + address + '\'' +
				", code='" + code + '\'' +
				'}';
	}
}
